/**
 * MP Software.
 */
package models;

import java.math.BigDecimal;

import javax.persistence.Entity;

import play.data.validation.Required;
import play.db.jpa.Model;

/**
 * @author Jeremiah John M. Macariola
 *
 */
@Entity
public class SssContribution extends Model {

    @Required
    public BigDecimal salaryRangeFrom;

    @Required
    public BigDecimal salaryRangeTo;

    @Required
    public BigDecimal employeeContribution;

    @Required
    public BigDecimal employerContribution;

    public SssContribution(BigDecimal salaryRangeFrom, BigDecimal salaryRangeTo,
            BigDecimal employeeContribution, BigDecimal employerContribution) {
        this.salaryRangeFrom = salaryRangeFrom;
        this.salaryRangeTo = salaryRangeTo;
        this.employeeContribution = employeeContribution;
        this.employerContribution = employerContribution;
    }

}
